<?php
class ModelAccountReferral extends Model {
	public function getReferral($referral_code) {
		$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "referral_codes WHERE referral_code = '" . $referral_code . "'");
		return $query->row;
	}
}
?>